package appapi.service;

import appapi.Request.Basic.DictionaryPageReq;
import appapi.Request.Basic.DictionaryReq;
import appapi.entity.Zhongjiao.DictionaryDto;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author djq
 * @date 2023/5/25 13:56
 * @description:
 */
@Repository
public interface IDictionaryService {
    List<Map<String, Object>> selectDicTypeList(String dicType);

    PageInfo<DictionaryDto> Page(DictionaryPageReq req);

    int AddInfo(DictionaryDto dto);

    int EditInfo(DictionaryDto dto);

    int DeleteInfo(Long dictId);

    DictionaryDto GetDetail(Long dictId);

    List<DictionaryDto> GetList(DictionaryReq req);

    int Count(DictionaryDto dto);

    List<String> GetTypeList();

    List<DictionaryDto> getList(DictionaryPageReq req);
}
